package com.crane.oss.app.bean.resp;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * app用户表
 *
 * @author zhenxing.pi
 * @email ccsu123456@qq.com
 * @date 2020年08月21日 00时01分51秒
 */

@Getter
@Setter
@ToString

public class AppUserStudentInfoResp implements Serializable {

  private static final long serialVersionUID = 1L;
  @ApiModelProperty(value = "用户id")
  private Long appUserId;
  @ApiModelProperty(value = "类型: 1老师 2家长 3 老师/家长")
  private Integer userType;

  @ApiModelProperty(value = "手机号码", name = "mobile")
  private String mobile;
  @ApiModelProperty(value = "家长身份值", name = "identity")
  private String identity;

  @ApiModelProperty(value = "状态：2正常，1锁定，0无效", name = "status")
  private Integer status;

  @ApiModelProperty(value = "昵称")
  private String nickName;

  @ApiModelProperty(value = "真实姓名")
  private String realName;

  @ApiModelProperty(value = "备注")
  private String remark;

  @ApiModelProperty(value = "头像")
  private String headUrl;

  @ApiModelProperty(value = "上次登录家长身份 2家长 1老师 默认家长 2")
  private Integer beforeType;
  /**
   * 上次选中的学生ID
   */
  @ApiModelProperty(value = "上次选中的学生ID   如何从学生列表没有找到，默认选中第一个")
  private Long beforeStudent;

  @ApiModelProperty(value = "学生信息")
  List<AppStudentInfo> list;

}
